Tag Link | [Email_POP->Retrieve] | Category | |
---|---|---|---|
Type | Member | Source Available | Yes |
Support | Preferred | Version | 8.0 |
Change | Unchanged | Data Source | Any |
Output Type | None | Security | None |
Implementation | LDML | Sets | Lasso 8.5, Lasso 8.0 |
[Email_Pop->Retrieve] returns the raw text of a message from the server. If a position is specified then the raw text of that email is retrieved. If no position is specified then the raw text of the current message is specified. The output of this tag is usually then parsed with the [Email_Parse] tag.
An optional second parameter specifies the number of lines of the message to retrieve. 0 will just retrieve the headers for the message. Omitting the parameter will fetch the entire message.
The current message is set when the [Email_POP] type is used in [Iterate] ... [/Iterate] tags or any time [Email_POP->Get], [Email_POP->Retrieve], [Email_POP->Delete], [Email_POP->Headers], or [Email_POP->UniqueID] is called with a position.
[Var: 'myPOP' = (Email_POP:
[Iterate: $myPOP, (Var: 'UniqueID')]
[Var: 'myMSG' = (Email_Parse: $myPOP->(Retrieve))]
...
[/Iterate]
[$myPOP->Close]
Optional Parameters | |
---|---|
Position | The position of the message to be fetched. If not specified the current message is fetched. |
See the Lasso 8 Language Guide for examples of how to use this tag.